using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;

namespace Pcme.Info.MvcMusicStore.Models {
    
    
    public partial class CartMap : ClassMap<Cart> {
        
        public CartMap() {
			Table("Cart");
			LazyLoad();
			Id(x => x.RecordId).GeneratedBy.Identity().Column("RecordId");
			References(x => x.Album).Column("AlbumId");
			Map(x => x.CartId).Not.Nullable().Column("CartId");
			Map(x => x.Count).Not.Nullable().Column("Count");
			Map(x => x.DateCreated).Not.Nullable().Column("DateCreated");
        }
    }
}
